home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
utility
/
252
/
dskpcsrc
/
notepad.def
< prev
next >
Wrap
Text File
|
1988-02-13
|
1KB
|
49 lines
DEFINITION MODULE NotePad;
(* This module defines procedures used for manipulating the *)
(* NotePad accessory. *)
PROCEDURE Initialize ();
(* Initialize the NotePad module. *)
PROCEDURE OwnsWindow ( WindowId : INTEGER ) : BOOLEAN;
(* Return TRUE if the NotePad owns the window specified by *)
(* "WindowId", or FALSE otherwise. *)
PROCEDURE Open;
(* Open the NotePad. If the NotePad is already opened, *)
(* then top the window belonging to the NotePad. *)
PROCEDURE Close;
(* Close the NotePad window. *)
PROCEDURE ProcessMessageEvent ( VAR MsgBuffer : ARRAY OF INTEGER );
(* Process a message event not relating to a menu. *)
PROCEDURE ProcessButtonEvent ( MouseButton : INTEGER;
ModifierKey : INTEGER;
Clicks : INTEGER );
(* The mouse button has been pressed, so process the event. *)
PROCEDURE ProcessKeyboardEvent ( Key : INTEGER;
ModifierKey : INTEGER );
(* A key on the keyboard has been pressed, so process the event. *)
END NotePad.